package
{
	import org.flixel.FlxSprite;

	public class BouncyArrow extends FlxSprite
	{

		/**
		 * Default rotation angle (0 degrees) is pointing east.
		 * 90 degrees = south, 180 degrees = west, etc.
		 */
		public function BouncyArrow(x:int, y:int, rotation:int)
		{
			super(x, y);
			loadGraphic(Res.TutorialArrow, true, false, 100, 80);
			angle = rotation;
			addAnimation("bouncing", [0, 1, 2, 3], 6);
			play("bouncing");
		}
	}
}